package load.education;

import core.DispatcherPort;
import core.StdNode;
import core.TriggerPort;

/**
 *
 * @author Ben
 */
public class SetCentered extends StdNode{
    private DispatcherPort done = new DispatcherPort();
    private TriggerPort set = new TriggerPort() {
            @Override
            public void callInternal() {
                controller.StdDraw.getInstance().getTurtle().setCentered();
                done.callTargets();
            }
    };

    public SetCentered() {
        this.autoPutPorts();
    }

}